<template>
  <div 
    class="w_full h_50 lh_50 flex_row_center color_fff fs_1_5vw ls_3 cursor main_color font_zh" 
    @click="goToPage('/')">
    <div class="w_60 h_30 text_center">
      <img src="../assets/image/header_left.png" alt="">
    </div>
    {{ headerName }}
    <div class="w_60 h_30 text_center">
      <img src="../assets/image/header_right.png" alt="">
    </div>
  </div>
</template>

<script>
  export default {
    props: {
      headerName: ''
    },
    data() {
      return {

      }
    },
    methods: {
      goToPage(path) {
        this.$router.push(path)
      }
    }
  }
</script>

<style>

</style>